package com.dubbo.regulate.mapper;

import com.dubbo.regulate.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
	
	int insert(UserEntity user);

	UserEntity findById(Integer id);

	List<UserEntity> find(UserEntity User);

	List<UserEntity> findAll();

	Integer count(UserEntity User);
	
	void update(UserEntity User);
}
